﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace PhoneBilling.Models
{
    public class LoginModel
    {
        [Required(ErrorMessage = "请输入用户名.")]
        [Display(Name = "用户名：")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "请输入密码.")]
        [DataType(DataType.Password )]
        [Display(Name = "密码：")]
        public string Password { get; set; }
    }
}